﻿using System;
using System.Windows.Forms;
using Kators.Services;

namespace Kators.UserControls
{
    public partial class DateTimeComboBox : UserControl
    {
        public DateTimeComboBox()
        {
            InitializeComponent();

            cmbBoxMonth.DataSource = DateTimeService.GetMonths();
            cmbBoxDay.DataSource = DateTimeService.GetDays();
            cmbBoxYear.DataSource = DateTimeService.GetYears(1960 /*startYear*/, 2001 /*endYear*/);


        }

     




    }
}
